package com.bigger.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bigger.entity.OrderDetail;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OrderDetailMapper extends BaseMapper<OrderDetail> {
    @Delete("delete from order_detail where order_id=#{id} ;")
    void deleteByOrderId(Long id);
}
